+2006-05-31 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfontbutton.c:
+ * gtk/gtkcolorbutton.c: Clarify the docs of the color-set and
+ font-set signals. (#343438, Olexiy Avramchenko)
+
2006-05-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c (gtk_grab_notify_foreach): Don't skip internal
+2006-05-31 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfontbutton.c:
+ * gtk/gtkcolorbutton.c: Clarify the docs of the color-set and
+ font-set signals. (#343438, Olexiy Avramchenko)
+
2006-05-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c (gtk_grab_notify_foreach): Don't skip internal
* GtkColorButton::color-set:
* @widget: the object which received the signal.
*
- * The ::color-set signal is emitted when the user selects a color. When handling this signal,
- * use gtk_color_button_get_color() and gtk_color_button_get_alpha() to find out which color
- * was just selected.
+ * The ::color-set signal is emitted when the user selects a color.
+ * When handling this signal, use gtk_color_button_get_color() and
+ * gtk_color_button_get_alpha() to find out which color was just selected.
+ *
+ * Note that this signal is only emitted when the <emphasis>user</emphasis>
+ * changes the color. If you need to react to programmatic color changes
+ * as well, use the notify::color signal.
*
* Since: 2.4
*/
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
- g_type_class_add_private (gobject_class, sizeof (GtkColorButtonPrivate));
+ g_type_class_add_private (gobject_class, sizeof (GtkColorButtonPrivat;
}
static void
* GtkFontButton::font-set:
* @widget: the object which received the signal.
*
- * The ::font-set signal is emitted when the user selects a font. When
- * handling this signal, use gtk_font_button_get_font_name() to find out
- * which font was just selected.
+ * The ::font-set signal is emitted when the user selects a font.
+ * When handling this signal, use gtk_font_button_get_font_name()
+ * to find out which font was just selected.
+ *
+ * Note that this signal is only emitted when the <emphasis>user</emphasis>
+ * changes the font. If you need to react to programmatic font changes
+ * as well, use the notify::font-name signal.
*
* Since: 2.4
*/